export const ACTION_PERMISSION_CODES = {
  // 文件相关
  FILE_UPLOAD: 'btn:file:upload',
  FILE_DOWNLOAD: 'btn:file:download',
  FILE_SHARE: 'btn:file:share',
  FILE_SHARE_CANCEL: 'btn:file:share:cancel',
  FILE_DELETE: 'btn:file:delete',
  FILE_BATCH_DELETE: 'btn:file:batch-delete',
  FILE_FAVORITE: 'btn:file:favorite',

  // 订单相关
  ORDER_REFUND: 'btn:order:refund',
  ORDER_EXPORT: 'btn:order:export',

  // 系统管理相关
  SYSTEM_USER_CREATE: 'btn:system:user:create',
  SYSTEM_USER_DELETE: 'btn:system:user:delete',
  SYSTEM_ROLE_ASSIGN: 'btn:system:role:assign',
} as const

export type ActionPermissionCode = typeof ACTION_PERMISSION_CODES[keyof typeof ACTION_PERMISSION_CODES]


